<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:icecore="http://www.icefaces.org/icefaces/core"
	xmlns:ice="http://www.icesoft.com/icefaces/component"
	xmlns:ace="http://www.icefaces.org/icefaces/components"
	xmlns:prettyfaces="http://ocpsoft.com/prettyfaces"
	xmlns:m="http://code.google.com/p/gmaps4jsf/">
	
<ui:composition template="/templateEventi.xhtml">
	
		<ui:define name="body">
			<h:form id="formCont">	
			
			<!-- content -->
			<section id="content">
				<div class="wrapper">
					<div class="grid_7 alpha rt-ident-bottom-1">
						<div class="rt-block-ident-1">
							<h2 class="ident-bot-1">contact us</h2>
							<p class="ident-bot-13">Contattaci per segnalare un evento o per qualsiasi informazione</p>
							<!-- contact form -->
							<div id="confirm">
								<h:form id="form1">
									
									<div class="success"> Invia una mail</div>
									
									<fieldset>			
										
										     <ice:outputLabel  for="name" value="Name"/>
			                  	   			 <ice:inputText id="name" value="#{homeBean.nomeUtente}"/>
										     <ice:outputLabel  for="email" value="Email"/>
			                    			 <ice:inputText id="email"  validator="#{homeBean.validateEmail}" value="#{homeBean.mailUtente}"/>
										     <ice:outputLabel  for="message" value="Messaggio"/>
			                  	   			<ice:inputTextarea id="message" value="#{homeBean.testoMail}"/>			        
										<div class="clear"></div>
										
										<div class="btns"><ace:pushButton styleClass="button" action="#{homeBean.doMailUtente}" value="Invia messaggio"/></div>
									
									</fieldset>
									<div class="clear"></div>
									<br/>
									<br/>
									<br/>									
									 <ice:outputText value="#{generalMessaggioBean.messaggio}"/>					
								</h:form>
							</div><!-- end contact form -->
						</div>
					</div>
					<div class="grid_5 omega">
<!-- MAPPA  dove siamo				
						<div class="rt-block-ident-3">
							<h2 class="ident-bot-12">our address</h2>
							<div class="ident-bot-14">
								 	
							    <m:map latitude="44.51553" longitude="11.55215"  width="300" height="250" >
    								<m:marker/>
				  				</m:map>
							</div>
						</div>
 -->
						<dl class="adress">
							<dd>E-mail: <a class="link-1" href="#">info@inbotta.it</a></dd>
						</dl>
					</div>
				</div>
			</section><!-- end content -->
    		 </h:form>       
		</ui:define>
	
</ui:composition>
</html>